Integrand size = 29, antiderivative size = 189 \[ \int \frac {1}{\sqrt {3+b \sin (e+f x)} \sqrt {c+d \sin (e+f x)}} \, dx=\frac {2 \sqrt {3+b} \operatorname {EllipticF}\left (\arcsin \left (\frac {\sqrt {c+d} \sqrt {3+b \sin (e+f x)}}{\sqrt {3+b} \sqrt {c+d \sin (e+f x)}}\right ),\frac {(3+b) (c-d)}{(3-b) (c+d)}\right ) \sec (e+f x) \sqrt {\frac {(b c-3 d) (1-\sin (e+f x))}{(3+b) (c+d \sin (e+f x))}} \sqrt {-\frac {(b c-3 d) (1+\sin (e+f x))}{(3-b) (c+d \sin (e+f x))}} (c+d \sin (e+f x))}{(b c-3 d) \sqrt {c+d} f} \]
2*EllipticF((c+d)^(1/2)*(a+b*sin(f*x+e))^(1/2)/(a+b)^(1/2)/(c+d*sin(f*x+e) )^(1/2),((a+b)*(c-d)/(a-b)/(c+d))^(1/2))*sec(f*x+e)*(c+d*sin(f*x+e))*(a+b) ^(1/2)*((-a*d+b*c)*(1-sin(f*x+e))/(a+b)/(c+d*sin(f*x+e)))^(1/2)*(-(-a*d+b* c)*(1+sin(f*x+e))/(a-b)/(c+d*sin(f*x+e)))^(1/2)/(-a*d+b*c)/f/(c+d)^(1/2)
Time = 0.24 (sec) , antiderivative size = 173, normalized size of antiderivative = 0.92 \[ \int \frac {1}{\sqrt {3+b \sin (e+f x)} \sqrt {c+d \sin (e+f x)}} \, dx=-\frac {2 \operatorname {EllipticF}\left (\arcsin \left (\frac {\sqrt {c+d} \sqrt {3+b \sin (e+f x)}}{\sqrt {3+b} \sqrt {c+d \sin (e+f x)}}\right ),-\frac {(3+b) (c-d)}{(-3+b) (c+d)}\right ) \sec (e+f x) (-1+\sin (e+f x)) \sqrt {\frac {(b c-3 d) (1+\sin (e+f x))}{(-3+b) (c+d \sin (e+f x))}}}{\sqrt {3+b} \sqrt {c+d} f \sqrt {-\frac {(b c-3 d) (-1+\sin (e+f x))}{(3+b) (c+d \sin (e+f x))}}} \]
(-2*EllipticF[ArcSin[(Sqrt[c + d]*Sqrt[3 + b*Sin[e + f*x]])/(Sqrt[3 + b]*S qrt[c + d*Sin[e + f*x]])], -(((3 + b)*(c - d))/((-3 + b)*(c + d)))]*Sec[e + f*x]*(-1 + Sin[e + f*x])*Sqrt[((b*c - 3*d)*(1 + Sin[e + f*x]))/((-3 + b) *(c + d*Sin[e + f*x]))])/(Sqrt[3 + b]*Sqrt[c + d]*f*Sqrt[-(((b*c - 3*d)*(- 1 + Sin[e + f*x]))/((3 + b)*(c + d*Sin[e + f*x])))])
Time = 0.34 (sec) , antiderivative size = 192, normalized size of antiderivative = 1.02, number of steps used = 2, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.069, Rules used = {3042, 3297}
Below are the steps used by Rubi to obtain the solution. The rule number used for the transformation is given above next to the arrow. The rules definitions used are listed below.
\(\displaystyle \int \frac {1}{\sqrt {a+b \sin (e+f x)} \sqrt {c+d \sin (e+f x)}} \, dx\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \int \frac {1}{\sqrt {a+b \sin (e+f x)} \sqrt {c+d \sin (e+f x)}}dx\) |
\(\Big \downarrow \) 3297 |
\(\displaystyle \frac {2 \sqrt {a+b} \sec (e+f x) (c+d \sin (e+f x)) \sqrt {\frac {(b c-a d) (1-\sin (e+f x))}{(a+b) (c+d \sin (e+f x))}} \sqrt {-\frac {(b c-a d) (\sin (e+f x)+1)}{(a-b) (c+d \sin (e+f x))}} \operatorname {EllipticF}\left (\arcsin \left (\frac {\sqrt {c+d} \sqrt {a+b \sin (e+f x)}}{\sqrt {a+b} \sqrt {c+d \sin (e+f x)}}\right ),\frac {(a+b) (c-d)}{(a-b) (c+d)}\right )}{f \sqrt {c+d} (b c-a d)}\) |
(2*Sqrt[a + b]*EllipticF[ArcSin[(Sqrt[c + d]*Sqrt[a + b*Sin[e + f*x]])/(Sq rt[a + b]*Sqrt[c + d*Sin[e + f*x]])], ((a + b)*(c - d))/((a - b)*(c + d))] *Sec[e + f*x]*Sqrt[((b*c - a*d)*(1 - Sin[e + f*x]))/((a + b)*(c + d*Sin[e + f*x]))]*Sqrt[-(((b*c - a*d)*(1 + Sin[e + f*x]))/((a - b)*(c + d*Sin[e + f*x])))]*(c + d*Sin[e + f*x]))/(Sqrt[c + d]*(b*c - a*d)*f)
3.8.86.3.1 Defintions of rubi rules used
Int[1/(Sqrt[(a_) + (b_.)*sin[(e_.) + (f_.)*(x_)]]*Sqrt[(c_) + (d_.)*sin[(e_ .) + (f_.)*(x_)]]), x_Symbol] :> Simp[2*((c + d*Sin[e + f*x])/(f*(b*c - a*d )*Rt[(c + d)/(a + b), 2]*Cos[e + f*x]))*Sqrt[(b*c - a*d)*((1 - Sin[e + f*x] )/((a + b)*(c + d*Sin[e + f*x])))]*Sqrt[(-(b*c - a*d))*((1 + Sin[e + f*x])/ ((a - b)*(c + d*Sin[e + f*x])))]*EllipticF[ArcSin[Rt[(c + d)/(a + b), 2]*(S qrt[a + b*Sin[e + f*x]]/Sqrt[c + d*Sin[e + f*x]])], (a + b)*((c - d)/((a - b)*(c + d)))], x] /; FreeQ[{a, b, c, d, e, f}, x] && NeQ[b*c - a*d, 0] && N eQ[a^2 - b^2, 0] && NeQ[c^2 - d^2, 0] && PosQ[(c + d)/(a + b)]
Leaf count of result is larger than twice the leaf count of optimal. \(1104\) vs. \(2(177)=354\).
Time = 11.22 (sec) , antiderivative size = 1105, normalized size of antiderivative = 5.85
4/f*(c*(-a^2+b^2)^(1/2)*(-c^2+d^2)^(1/2)*sin(f*x+e)+cos(f*x+e)*(-a^2+b^2)^ (1/2)*(-c^2+d^2)^(1/2)*d-cos(f*x+e)*(-a^2+b^2)^(1/2)*c^2+c*d*(-a^2+b^2)^(1 /2)*sin(f*x+e)+cos(f*x+e)*(-a^2+b^2)^(1/2)*d^2-cos(f*x+e)*(-c^2+d^2)^(1/2) *a*c+b*c*(-c^2+d^2)^(1/2)*sin(f*x+e)+cos(f*x+e)*(-c^2+d^2)^(1/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^(1/2)-a*d+b*c)*(c*(-a^2+b^2)^(1/2)+a*(-c^2+d^2)^(1/2)+a*d-b*c)/ (c*(-a^2+b^2)^(1/2)-a*(-c^2+d^2)^(1/2)+a*d-b*c)/(c*(-a^2+b^2)^(1/2)-a*(...
\[ \int \frac {1}{\sqrt {3+b \sin (e+f x)} \sqrt {c+d \sin (e+f x)}} \, dx=\int { \frac {1}{\sqrt {b \sin \left (f x + e\right ) + a} \sqrt {d \sin \left (f x + e\right ) + c}} \,d x } \]
integral(-sqrt(b*sin(f*x + e) + a)*sqrt(d*sin(f*x + e) + c)/(b*d*cos(f*x + e)^2 - a*c - b*d - (b*c + a*d)*sin(f*x + e)), x)
\[ \int \frac {1}{\sqrt {3+b \sin (e+f x)} \sqrt {c+d \sin (e+f x)}} \, dx=\int \frac {1}{\sqrt {a + b \sin {\left (e + f x \right )}} \sqrt {c + d \sin {\left (e + f x \right )}}}\, dx \]
\[ \int \frac {1}{\sqrt {3+b \sin (e+f x)} \sqrt {c+d \sin (e+f x)}} \, dx=\int { \frac {1}{\sqrt {b \sin \left (f x + e\right ) + a} \sqrt {d \sin \left (f x + e\right ) + c}} \,d x } \]
\[ \int \frac {1}{\sqrt {3+b \sin (e+f x)} \sqrt {c+d \sin (e+f x)}} \, dx=\int { \frac {1}{\sqrt {b \sin \left (f x + e\right ) + a} \sqrt {d \sin \left (f x + e\right ) + c}} \,d x } \]
Timed out. \[ \int \frac {1}{\sqrt {3+b \sin (e+f x)} \sqrt {c+d \sin (e+f x)}} \, dx=\int \frac {1}{\sqrt {a+b\,\sin \left (e+f\,x\right )}\,\sqrt {c+d\,\sin \left (e+f\,x\right )}} \,d x \]